//
//  Three3DGroup.h
//  WangLottery
//
//  Created by 黄修勇 on 12-4-27.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"

typedef enum{

    Three3DGroupTypeSan=0,
    Three3DGroupTypeLiu,
}Three3DGroupType;

@interface Three3DGroup : UIView{

    UIScrollView *selectView;
    NSMutableArray *selectNums;
    NSMutableArray *selectBellArray;
    UILabel *titleLabel;
}

@property (nonatomic,readonly)Three3DGroupType lotteryType;
@property (nonatomic)NSInteger minSelectNumber;
@property (nonatomic,readonly)NSArray *selectNumberArray;
@property (nonatomic,retain)NSString *titleString;

-(id)initWithFrame:(CGRect)frame andLotteryType:(Three3DGroupType)type;

-(BOOL)addNumber:(NSInteger)number;

-(BOOL)removeNumber:(NSInteger)number;

-(void)removeAllNumber;

-(void)reloadBellNumber;

- (void)randomSelect3Direct;

- (void)removeAllselect;

@end
